<!DOCTYPE html SYSTEM "http://www.thymeleaf.org/dtd/xhtml1-strict-thymeleaf-4.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">

<head th:include="common/common :: jscss">
    <title>复制服务组</title>
</head>
<body>
<div class="layui-fluid">
    <div class="layui-card">
        <div class="layui-card-body">
            <form method="post" action="" class="layui-form" lay-filter="zmn-service-group-form" style="min-height: 350px">
                <input type="hidden" name="tariffId" th:value="${tariffId}" id="tariffId">
                <input type="hidden" name="categOneId" th:value="${categOneId}" id="categOneId">
                <input type="hidden" name="servCategId" th:value="${servCategId}" id="servCategId">
                <div class="layui-card">
                    <div class="layui-form-item">
                        <label class="layui-form-label layui-form-required">价格表：</label>
                        <div class="layui-input-inline">
                            <select name="selectTariffId" lay-verify="required"
                                    lay-filter="selectTariffId" id="selectTariffId">
                                <option value=""></option>
                                <option th:each="tariff:${selectTariffs}" th:value="${tariff.tariffId}" th:text="${tariff.tariffName}">
                                </option>
                            </select>
                        </div>
                    </div>
                    <!--<div class="layui-form-item">-->
                        <!--<label class="layui-form-label layui-form-required">所属分类：</label>-->
                        <!--<div class="layui-input-inline">-->
                            <!--<select lay-filter="servCategId" id="servCategId" name="servCategId" lay-search lay-verify="required">-->
                                <!--<option value=""></option>-->
                            <!--</select>-->
                        <!--</div>-->
                        <!--<div class="layui-input-inline">-->
                            <!--<select id="categOneId" name="categOneId" lay-filter="categOneId" lay-search lay-verify="required">-->
                                <!--<option value=""></option>-->
                            <!--</select>-->
                        <!--</div>-->
                    <!--</div>-->


                    <div class="layui-form-item">
                        <label class="layui-form-label layui-form-required">所属分组：</label>
                        <div class="layui-input-block" id="groupDiv" style="min-height: 170px">
                            <!--<th:block th:each="item:${selectTariffs}">-->
                                <!--<input type="checkbox" th:name="selectTariffId" th:value="${item.tariffId}"-->
                                       <!--th:alt-title="${item.groupAlias}">-->
                            <!--</th:block>-->
                        </div>
                    </div>


                    <div class="layui-form-item submit">
                        <div class="layui-input-block">
                            <button class="layui-btn" lay-submit="" lay-filter="zmn-service-group-form-submit">确定</button>
                            <button type="cancel" onclick="cancel()" class="layui-btn layui-btn-primary">取消</button>
                        </div>
                    </div>
                </div>
            </form>
        </div>
    </div>
</div>
</body>
</html>
<script type="text/javascript" th:inline="javascript">
    layui.config({
        base: "/static/lay/",
        version:20190926000001
    }).extend({
        index: "lib/index",
        transfer: '{/}/static/lay/layuiexts/transfer',
        serv_service_group_copy: "service/group/zmn.service.group.copy"
    }).use(['index', 'serv_service_group_copy', 'transfer']);

    let json = {
        faultGroup: [[${faultGroup}]]
    }
</script>
